package com.fdmgroup.benchmarker.lib.thread;

public class Counter {
	private int mValue;

	public Counter(int value) {
		mValue = value;
	}

	public void increment() {
		mValue++;
	}

	public void decrement() {
		mValue--;
	}

	public boolean isGreaterThanZero() {
		return mValue > 0;
	}
	
	public int value(){
		return mValue;
	}
}
